package com.imooc.security.core.social.qq.connect;

import org.springframework.social.connect.support.OAuth2ConnectionFactory;

import com.imooc.security.core.social.qq.api.QQ;

/**
 * 5.4.6 添加QQConnectionFactory
 */
public class QQConnectionFactory extends OAuth2ConnectionFactory<QQ>{

	/**
	 * 5.4.7 构造方法
	 * @param providerId
	 * @param appId
	 * @param appSecret
	 */
	public QQConnectionFactory(String providerId, String appId, String appSecret) {
		super(providerId, new QQServiceProvider(appId, appSecret), new QQAdapter());
	}
	
}
